package cn.com.ytst.data.integration;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;




/**
 * Hello world!
 */

//@ImportResource(locations= {"classpath:conf/quartz.xml"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,QuartzAutoConfiguration.class})
@ComponentScan({"com.ytst.framework.common", "com.ytst.producer", "cn.com.ytst.data.integration","com.ytst.framework.register.center","com.ytst.framework.kafka"})
//@DependsOn({"springContextUtil"})
//@ServletComponentScan
public class DataExchangeApplcation {

	
	private static  Logger LOGGER = LoggerFactory.getLogger(DataExchangeApplcation.class); 
	
	
    public static void main(String[] args) {
        try {
            SpringApplication.run(DataExchangeApplcation.class, args);
           
        } catch (Exception ex) {
        	LOGGER.error("",ex);
        	
        }
    }
	

	
	

	

    
	

	


	




}
